\hypertarget{class_c_s_t_l_compiler}{}\section{C\+S\+T\+L\+Compiler Class Reference}
\label{class_c_s_t_l_compiler}\index{C\+S\+T\+L\+Compiler@{C\+S\+T\+L\+Compiler}}


This class compiles view pages with C\+S\+TL (C++ Server Pages Standard Tags Library).  




{\ttfamily \#include $<$cstlcompiler.\+h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_c_s_t_l_compiler_a2ff8b8d08a280dea2f9b7474a9759e8f}{C\+S\+T\+L\+Compiler} (const Q\+Byte\+Array \&str, const Q\+String \&path, Q\+Map$<$ Q\+String, Q\+Object $\ast$$>$ \&objects, bool is\+Str\+File\+Name=true)
\begin{DoxyCompactList}\small\item\em Initialize the str, objects and is\+Str\+File\+Name properties. \end{DoxyCompactList}\item 
Q\+Byte\+Array \hyperlink{class_c_s_t_l_compiler_a3cce5a503e81c5de099859fe0ae1c386}{output} ()
\begin{DoxyCompactList}\small\item\em Returns the compiled view page. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
This class compiles view pages with C\+S\+TL (C++ Server Pages Standard Tags Library). 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_c_s_t_l_compiler_a2ff8b8d08a280dea2f9b7474a9759e8f}\label{class_c_s_t_l_compiler_a2ff8b8d08a280dea2f9b7474a9759e8f}} 
\index{C\+S\+T\+L\+Compiler@{C\+S\+T\+L\+Compiler}!C\+S\+T\+L\+Compiler@{C\+S\+T\+L\+Compiler}}
\index{C\+S\+T\+L\+Compiler@{C\+S\+T\+L\+Compiler}!C\+S\+T\+L\+Compiler@{C\+S\+T\+L\+Compiler}}
\subsubsection{\texorpdfstring{C\+S\+T\+L\+Compiler()}{CSTLCompiler()}}
{\footnotesize\ttfamily C\+W\+F\+\_\+\+B\+E\+G\+I\+N\+\_\+\+N\+A\+M\+E\+S\+P\+A\+CE C\+S\+T\+L\+Compiler\+::\+C\+S\+T\+L\+Compiler (\begin{DoxyParamCaption}\item[{const Q\+Byte\+Array \&}]{str,  }\item[{const Q\+String \&}]{path,  }\item[{Q\+Map$<$ Q\+String, Q\+Object $\ast$$>$ \&}]{objects,  }\item[{bool}]{is\+Str\+File\+Name = {\ttfamily true} }\end{DoxyParamCaption})}



Initialize the str, objects and is\+Str\+File\+Name properties. 


\begin{DoxyParams}{Parameters}
{\em const} & Q\+Byte\+Array \&str \+: If is\+Str\+File\+Name is true, it should be a file name, else, it should be the file content. \\
\hline
{\em Q\+Map$<$\+Q\+String,Q\+Object} & $\ast$$>$ \&objects \+: Container objects that can be compiled into the view page. \\
\hline
{\em bool} & is\+Str\+File\+Name \+: It indicates whether str is the name of a file or its contents. \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_c_s_t_l_compiler_a3cce5a503e81c5de099859fe0ae1c386}\label{class_c_s_t_l_compiler_a3cce5a503e81c5de099859fe0ae1c386}} 
\index{C\+S\+T\+L\+Compiler@{C\+S\+T\+L\+Compiler}!output@{output}}
\index{output@{output}!C\+S\+T\+L\+Compiler@{C\+S\+T\+L\+Compiler}}
\subsubsection{\texorpdfstring{output()}{output()}}
{\footnotesize\ttfamily Q\+Byte\+Array C\+S\+T\+L\+Compiler\+::output (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns the compiled view page. 

\begin{DoxyReturn}{Returns}
Q\+Byte\+Array \+: Compiled page. 
\end{DoxyReturn}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
/home/herik/\+C\+P\+P\+Web\+Framework/\+C\+P\+P\+Web\+Framework/cwf/cstlcompiler.\+h\item 
/home/herik/\+C\+P\+P\+Web\+Framework/\+C\+P\+P\+Web\+Framework/cwf/cstlcompiler.\+cpp\end{DoxyCompactItemize}
